package com.shiguiwu.springmybatis.designpattern.composite.scene.aggregates;

import com.shiguiwu.springmybatis.designpattern.composite.scene.vo.TreeNode;
import com.shiguiwu.springmybatis.designpattern.composite.scene.vo.TreeRoot;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.Map;

/**
 * @description: 规则树聚合
 * @author: stone
 * @date: Created by 2021/8/25 20:26
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springmybatis.designpattern.composite.scene.aggregates
 */
@Data
@AllArgsConstructor
public class TreeRich {
    private TreeRoot treeRoot;

    private Map<Long, TreeNode> treeNodeMap;

}
